package Var1022.Teacher;

public class Test {
    public static void main(String[] args) {
        Java java=new Java("王老师",45,15,'男');
        java.selfIntroduce();
        java.java();
        java.giveLession();
        Net net=new Net("王老师",45,15,'男');
        net.selfIntroduce();
        net.net();
        net.giveLession();
        UI ui=new UI("李老师",25,3,'女');
        ui.selfIntroduce();
        ui.ui();
        ui.giveLession();
    }
}
